package com.wing.warehouse.model.response;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.wing.mybatis.common.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 客户联系人信息
 */
@Schema(description="客户联系人信息")
@Data
@EqualsAndHashCode(callSuper=true)
@TableName(value = "sel_contact_info")
public class SelContactInfoAuthVO extends BaseEntity {
    @TableField(value = "`name`")
    @Schema(description="联系人姓名")
    private String name;

    @TableField(value = "picture")
    @Schema(description="联系人照片")
    private String picture;

    @TableField(value = "sex")
    @Schema(description="性别:man(1,男);woman(2, 女);other(3,未知)")
    private Integer sex;

    @TableField(value = "department")
    @Schema(description="所属部门")
    private String department;

    @TableField(value = "visiting_card")
    @Schema(description="名片")
    private String visitingCard;

    @TableField(value = "telephone")
    @Schema(description="电话")
    private String telephone;

    @TableField(value = "wechat_number")
    @Schema(description="微信号")
    private String wechatNumber;

    @TableField(value = "email")
    @Schema(description="邮箱")
    private String email;

    @TableField(value = "mail_address")
    @Schema(description="通讯地址")
    private String mailAddress;

    @TableField(value = "sort")
    @Schema(description="排序")
    private Integer sort;

    @TableField(value = "sel_customer_id")
    @Schema(description="所属客户ID")
    private Long selCustomerId;

    @TableField(value = "post_id")
    @Schema(description="职务id")
    private Long postId;

    @TableField(value = "account")
    @Schema(description="账号")
    private String account;

    @TableField(value = "`password`")
    @Schema(description="密码")
    private String password;

    private Integer roleId;

}